/***********************************************************************\
*                                                                       *
* This file was created by Component Internal Interface Engine software *
*  Copyright(c) 2000-2006 by Krzysztof Pozniak (pozniak@ise.pw.edu.pl)  *
*                           All Rights Reserved.                        *
*                                                                       *
\***********************************************************************/

package cii_opto;

import java.util.Vector;

import cii_lib.*;

public class CCII_PART_DATA_RECEIVER {

//	TODO To jest do generacji !
	  private Vector<CCII_ACCESS_INTERF> interfaces = new Vector<CCII_ACCESS_INTERF>();
	  private Vector<CCII_ACCESS_PARAM> params = new Vector<CCII_ACCESS_PARAM>();
	  //TODO
	  
  public CCII_COMPONENT _CII_PART_DATA_RECEIVER;

  private CCII_ACCESS_IPAR _IPAR_PART_WIDTH;
  private CCII_ACCESS_IPAR _IPAR_PART_NUM;
  private CCII_ACCESS_IPAR _IPAR_CHECK_WIDTH;
  private CCII_ACCESS_IPAR _IPAR_DELAY_LENGTH;
  private CCII_ACCESS_IPAR _IPAR_TRANSM_DATA_WIDTH;
  private CCII_ACCESS_IPAR _IPAR_DATA_WIDTH;
  private CCII_ACCESS_IPAR _IPAR_DELAY_WIDTH;
  private CCII_ACCESS_LPAR _LPAR_INPUT_REGISTERED;
  private CCII_ACCESS_LPAR _LPAR_INDELAY_REGISTERED;
  private CCII_ACCESS_LPAR _LPAR_OUTDELAY_REGISTERED;
  private CCII_ACCESS_LPAR _LPAR_OUTPUT_REGISTERED;
  public class CMPAR_DELAY_CII extends CCII_ACCESS_MPAR {
    public CMPAR_DELAY_CII(CCII_TABLE_INDEX itab, CCII_COMPONENT comp) { super(itab,comp);}
    public CCIISYS.CLIST_INTERF_CTRL GetList() {return(CCIISYS.LIST_INTERF_CTRL);}
  };
  private CMPAR_DELAY_CII _MPAR_DELAY_CII;
  public class CMPAR_CLK_INV_CII extends CCII_ACCESS_MPAR {
    public CMPAR_CLK_INV_CII(CCII_TABLE_INDEX itab, CCII_COMPONENT comp) { super(itab,comp);}
    public CCIISYS.CLIST_INTERF_CTRL GetList() {return(CCIISYS.LIST_INTERF_CTRL);}
  };
  private CMPAR_CLK_INV_CII _MPAR_CLK_INV_CII;
  public class CMPAR_SWAP_ENA_CII extends CCII_ACCESS_MPAR {
    public CMPAR_SWAP_ENA_CII(CCII_TABLE_INDEX itab, CCII_COMPONENT comp) { super(itab,comp);}
    public CCIISYS.CLIST_INTERF_CTRL GetList() {return(CCIISYS.LIST_INTERF_CTRL);}
  };
  private CMPAR_SWAP_ENA_CII _MPAR_SWAP_ENA_CII;
  public class CMPAR_CHECK_ENA_CII extends CCII_ACCESS_MPAR {
    public CMPAR_CHECK_ENA_CII(CCII_TABLE_INDEX itab, CCII_COMPONENT comp) { super(itab,comp);}
    public CCIISYS.CLIST_INTERF_CTRL GetList() {return(CCIISYS.LIST_INTERF_CTRL);}
  };
  private CMPAR_CHECK_ENA_CII _MPAR_CHECK_ENA_CII;
  public class CMPAR_CHECK_DATA_ENA_CII extends CCII_ACCESS_MPAR {
    public CMPAR_CHECK_DATA_ENA_CII(CCII_TABLE_INDEX itab, CCII_COMPONENT comp) { super(itab,comp);}
    public CCIISYS.CLIST_INTERF_CTRL GetList() {return(CCIISYS.LIST_INTERF_CTRL);}
  };
  private CMPAR_CHECK_DATA_ENA_CII _MPAR_CHECK_DATA_ENA_CII;
  public class CMPAR_TEST_ENA_CII extends CCII_ACCESS_MPAR {
    public CMPAR_TEST_ENA_CII(CCII_TABLE_INDEX itab, CCII_COMPONENT comp) { super(itab,comp);}
    public CCIISYS.CLIST_INTERF_CTRL GetList() {return(CCIISYS.LIST_INTERF_CTRL);}
  };
  private CMPAR_TEST_ENA_CII _MPAR_TEST_ENA_CII;
  public class CMPAR_TEST_RAND_ENA_CII extends CCII_ACCESS_MPAR {
    public CMPAR_TEST_RAND_ENA_CII(CCII_TABLE_INDEX itab, CCII_COMPONENT comp) { super(itab,comp);}
    public CCIISYS.CLIST_INTERF_CTRL GetList() {return(CCIISYS.LIST_INTERF_CTRL);}
  };
  private CMPAR_TEST_RAND_ENA_CII _MPAR_TEST_RAND_ENA_CII;
  private CCII_ACCESS_LPAR _LPAR_VALID_CII;
  private CCII_ACCESS_LPAR _LPAR_TEST_DATA_CII;
  private CCII_ACCESS_IR _BITS_CLK_INV;
  private CCII_ACCESS_IR _BITS_SWAP_ENA;
  private CCII_ACCESS_IR _BITS_CHECK_ENA;
  private CCII_ACCESS_IR _BITS_CHECK_DATA_ENA;
  private CCII_ACCESS_IR _BITS_TEST_ENA;
  private CCII_ACCESS_IR _BITS_TEST_RAND_ENA;
  private CCII_ACCESS_IR _BITS_DELAY;
  private CCII_ACCESS_RO _WORD_TEST_DATA;
  private CCII_ACCESS_RO _WORD_TEST_OR_DATA;
  public CCII_PART_DATA_RECEIVER(CCII_TABLE_INDEX itab, int cidx, CCII_INTERFACE interf, CCII_COMPONENT parent) {
    _CII_PART_DATA_RECEIVER=new CCII_COMPONENT(itab,cidx,parent,getInterfaces(),getParams());
    _IPAR_PART_WIDTH=null;
    _IPAR_PART_NUM=null;
    _IPAR_CHECK_WIDTH=null;
    _IPAR_DELAY_LENGTH=null;
    _IPAR_TRANSM_DATA_WIDTH=null;
    _IPAR_DATA_WIDTH=null;
    _IPAR_DELAY_WIDTH=null;
    _LPAR_INPUT_REGISTERED=null;
    _LPAR_INDELAY_REGISTERED=null;
    _LPAR_OUTDELAY_REGISTERED=null;
    _LPAR_OUTPUT_REGISTERED=null;
    _MPAR_DELAY_CII=null;
    _MPAR_CLK_INV_CII=null;
    _MPAR_SWAP_ENA_CII=null;
    _MPAR_CHECK_ENA_CII=null;
    _MPAR_CHECK_DATA_ENA_CII=null;
    _MPAR_TEST_ENA_CII=null;
    _MPAR_TEST_RAND_ENA_CII=null;
    _LPAR_VALID_CII=null;
    _LPAR_TEST_DATA_CII=null;
    _BITS_CLK_INV=null;
    _BITS_SWAP_ENA=null;
    _BITS_CHECK_ENA=null;
    _BITS_CHECK_DATA_ENA=null;
    _BITS_TEST_ENA=null;
    _BITS_TEST_RAND_ENA=null;
    _BITS_DELAY=null;
    _WORD_TEST_DATA=null;
    _WORD_TEST_OR_DATA=null;
    if(_CII_PART_DATA_RECEIVER.Number()==0) return;
    params.add(_IPAR_PART_WIDTH = new CCII_ACCESS_IPAR(itab,_CII_PART_DATA_RECEIVER));
    params.add(_IPAR_PART_NUM = new CCII_ACCESS_IPAR(itab,_CII_PART_DATA_RECEIVER));
    params.add(_IPAR_CHECK_WIDTH = new CCII_ACCESS_IPAR(itab,_CII_PART_DATA_RECEIVER));
    params.add(_IPAR_DELAY_LENGTH = new CCII_ACCESS_IPAR(itab,_CII_PART_DATA_RECEIVER));
    params.add(_IPAR_TRANSM_DATA_WIDTH = new CCII_ACCESS_IPAR(itab,_CII_PART_DATA_RECEIVER));
    params.add(_IPAR_DATA_WIDTH = new CCII_ACCESS_IPAR(itab,_CII_PART_DATA_RECEIVER));
    params.add(_IPAR_DELAY_WIDTH = new CCII_ACCESS_IPAR(itab,_CII_PART_DATA_RECEIVER));
    params.add(_LPAR_INPUT_REGISTERED = new CCII_ACCESS_LPAR(itab,_CII_PART_DATA_RECEIVER));
    params.add(_LPAR_INDELAY_REGISTERED = new CCII_ACCESS_LPAR(itab,_CII_PART_DATA_RECEIVER));
    params.add(_LPAR_OUTDELAY_REGISTERED = new CCII_ACCESS_LPAR(itab,_CII_PART_DATA_RECEIVER));
    params.add(_LPAR_OUTPUT_REGISTERED = new CCII_ACCESS_LPAR(itab,_CII_PART_DATA_RECEIVER));
    params.add(_MPAR_DELAY_CII = new CMPAR_DELAY_CII(itab,_CII_PART_DATA_RECEIVER));
    params.add(_MPAR_CLK_INV_CII = new CMPAR_CLK_INV_CII(itab,_CII_PART_DATA_RECEIVER));
    params.add(_MPAR_SWAP_ENA_CII = new CMPAR_SWAP_ENA_CII(itab,_CII_PART_DATA_RECEIVER));
    params.add(_MPAR_CHECK_ENA_CII = new CMPAR_CHECK_ENA_CII(itab,_CII_PART_DATA_RECEIVER));
    params.add(_MPAR_CHECK_DATA_ENA_CII = new CMPAR_CHECK_DATA_ENA_CII(itab,_CII_PART_DATA_RECEIVER));
    params.add(_MPAR_TEST_ENA_CII = new CMPAR_TEST_ENA_CII(itab,_CII_PART_DATA_RECEIVER));
    params.add(_MPAR_TEST_RAND_ENA_CII = new CMPAR_TEST_RAND_ENA_CII(itab,_CII_PART_DATA_RECEIVER));
    params.add(_LPAR_VALID_CII = new CCII_ACCESS_LPAR(itab,_CII_PART_DATA_RECEIVER));
    params.add(_LPAR_TEST_DATA_CII = new CCII_ACCESS_LPAR(itab,_CII_PART_DATA_RECEIVER));
    interfaces.add(_BITS_CLK_INV = new CCII_ACCESS_IR(itab,interf,_CII_PART_DATA_RECEIVER));
    interfaces.add(_BITS_SWAP_ENA = new CCII_ACCESS_IR(itab,interf,_CII_PART_DATA_RECEIVER));
    interfaces.add(_BITS_CHECK_ENA = new CCII_ACCESS_IR(itab,interf,_CII_PART_DATA_RECEIVER));
    interfaces.add(_BITS_CHECK_DATA_ENA = new CCII_ACCESS_IR(itab,interf,_CII_PART_DATA_RECEIVER));
    interfaces.add(_BITS_TEST_ENA = new CCII_ACCESS_IR(itab,interf,_CII_PART_DATA_RECEIVER));
    interfaces.add(_BITS_TEST_RAND_ENA = new CCII_ACCESS_IR(itab,interf,_CII_PART_DATA_RECEIVER));
    interfaces.add(_BITS_DELAY = new CCII_ACCESS_IR(itab,interf,_CII_PART_DATA_RECEIVER));
    interfaces.add(_WORD_TEST_DATA = new CCII_ACCESS_RO(itab,interf,_CII_PART_DATA_RECEIVER));
    interfaces.add(_WORD_TEST_OR_DATA = new CCII_ACCESS_RO(itab,interf,_CII_PART_DATA_RECEIVER));
  }
  public CCII_COMPONENT CII_PART_DATA_RECEIVER() {return(_CII_PART_DATA_RECEIVER.Number()==0?null:_CII_PART_DATA_RECEIVER);};
  public CCII_ACCESS_IPAR IPAR_PART_WIDTH() {return(_IPAR_PART_WIDTH);};
  public CCII_ACCESS_IPAR IPAR_PART_NUM() {return(_IPAR_PART_NUM);};
  public CCII_ACCESS_IPAR IPAR_CHECK_WIDTH() {return(_IPAR_CHECK_WIDTH);};
  public CCII_ACCESS_IPAR IPAR_DELAY_LENGTH() {return(_IPAR_DELAY_LENGTH);};
  public CCII_ACCESS_IPAR IPAR_TRANSM_DATA_WIDTH() {return(_IPAR_TRANSM_DATA_WIDTH);};
  public CCII_ACCESS_IPAR IPAR_DATA_WIDTH() {return(_IPAR_DATA_WIDTH);};
  public CCII_ACCESS_IPAR IPAR_DELAY_WIDTH() {return(_IPAR_DELAY_WIDTH);};
  public CCII_ACCESS_LPAR LPAR_INPUT_REGISTERED() {return(_LPAR_INPUT_REGISTERED);};
  public CCII_ACCESS_LPAR LPAR_INDELAY_REGISTERED() {return(_LPAR_INDELAY_REGISTERED);};
  public CCII_ACCESS_LPAR LPAR_OUTDELAY_REGISTERED() {return(_LPAR_OUTDELAY_REGISTERED);};
  public CCII_ACCESS_LPAR LPAR_OUTPUT_REGISTERED() {return(_LPAR_OUTPUT_REGISTERED);};
  public CMPAR_DELAY_CII MPAR_DELAY_CII() {return(_MPAR_DELAY_CII);};
  public CMPAR_CLK_INV_CII MPAR_CLK_INV_CII() {return(_MPAR_CLK_INV_CII);};
  public CMPAR_SWAP_ENA_CII MPAR_SWAP_ENA_CII() {return(_MPAR_SWAP_ENA_CII);};
  public CMPAR_CHECK_ENA_CII MPAR_CHECK_ENA_CII() {return(_MPAR_CHECK_ENA_CII);};
  public CMPAR_CHECK_DATA_ENA_CII MPAR_CHECK_DATA_ENA_CII() {return(_MPAR_CHECK_DATA_ENA_CII);};
  public CMPAR_TEST_ENA_CII MPAR_TEST_ENA_CII() {return(_MPAR_TEST_ENA_CII);};
  public CMPAR_TEST_RAND_ENA_CII MPAR_TEST_RAND_ENA_CII() {return(_MPAR_TEST_RAND_ENA_CII);};
  public CCII_ACCESS_LPAR LPAR_VALID_CII() {return(_LPAR_VALID_CII);};
  public CCII_ACCESS_LPAR LPAR_TEST_DATA_CII() {return(_LPAR_TEST_DATA_CII);};
  public CCII_ACCESS_IR BITS_CLK_INV() {return(_BITS_CLK_INV);};
  public CCII_ACCESS_IR BITS_SWAP_ENA() {return(_BITS_SWAP_ENA);};
  public CCII_ACCESS_IR BITS_CHECK_ENA() {return(_BITS_CHECK_ENA);};
  public CCII_ACCESS_IR BITS_CHECK_DATA_ENA() {return(_BITS_CHECK_DATA_ENA);};
  public CCII_ACCESS_IR BITS_TEST_ENA() {return(_BITS_TEST_ENA);};
  public CCII_ACCESS_IR BITS_TEST_RAND_ENA() {return(_BITS_TEST_RAND_ENA);};
  public CCII_ACCESS_IR BITS_DELAY() {return(_BITS_DELAY);};
  public CCII_ACCESS_RO WORD_TEST_DATA() {return(_WORD_TEST_DATA);};
  public CCII_ACCESS_RO WORD_TEST_OR_DATA() {return(_WORD_TEST_OR_DATA);};
  
  //TODO do generacji !!
  public Vector<CCII_ACCESS_INTERF> getInterfaces() {
	return interfaces;
}
public void setInterfaces(Vector<CCII_ACCESS_INTERF> interfaces) {
	this.interfaces = interfaces;
}
public Vector<CCII_ACCESS_PARAM> getParams() {
	return params;
}
public void setParams(Vector<CCII_ACCESS_PARAM> params) {
	this.params = params;
};
}
